load D:\PG\Dyplom\dane\radarData.dat
fid = fopen('D:\PG\Dyplom\dane\e_real.dat');
e_real = fread(fid, 'float')';
fclose(fid);
fid = fopen('D:\PG\Dyplom\dane\e_imag.dat');
e_imag = fread(fid, 'float')';
fclose(fid);

e_cuda = complex(e_real,e_imag);
clear e_real;
clear e_imag;

power_u = sum(abs(u).^2)/length(u);
power_d = sum(abs(d).^2)/length(d);
power_e_cuda = sum(abs(e_cuda).^2)/length(e_cuda);
disp(power_u)
disp(power_d)
disp(power_e_cuda)